export default {
  theme: (state) => state.theme,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  admin: state => state.user.admin,
  name: state => state.user.name,
  nickName: state => state.user.nickName,
  visitedViews: state => state.navtabs.visitedViews,
  introduction: state => state.user.introduction,
  topbarRouters: state => state.permission.topbarRouters,
  defaultRoutes: state => state.permission.defaultRoutes,
  sidebarRouters: state => state.permission.sidebarRouters,
  defaultDept: state => state.user.defualtDept,
  depts: state => state.user.depts,
  currentUser: state => state.user
}
